package cn.buildworld.touching.dao;

import cn.buildworld.touching.pojo.po.OsProduct;
import cn.buildworld.touching.pojo.po.OsProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsProductMapper {
    int countByExample(OsProductExample example);

    int deleteByExample(OsProductExample example);

    int deleteByPrimaryKey(Long productId);

    int insert(OsProduct record);

    int insertSelective(OsProduct record);

    List<OsProduct> selectByExample(OsProductExample example);

    OsProduct selectByPrimaryKey(Long productId);

    int updateByExampleSelective(@Param("record") OsProduct record, @Param("example") OsProductExample example);

    int updateByExample(@Param("record") OsProduct record, @Param("example") OsProductExample example);

    int updateByPrimaryKeySelective(OsProduct record);

    int updateByPrimaryKey(OsProduct record);
}